package cn.stylefeng.guns.modular.business.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 单页
 * </p>
 *
 * @author 
 * @since 2019-07-24
 */
@TableName("c_page_content")
@Data
public class PageContent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 单页code
     */
    @TableField("page_code")
    private String pageCode;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 序号，顺序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 删除标志：0正常，1删除
     */
    @TableField("delete_flag")
    private Integer deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

}
